package com.chixing.service;

import com.chixing.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.util.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author smith
 * @since 2025-09-28
 */
public interface IProductService {
    public Result getById(Integer proId);
    //获得销量排在前五的商品
    public Result getHotProduct();
    //商品购买 减库存
    public Result decrProCount(Integer proId);
}
